import React from 'react'
import { Empty, Button } from 'antd';

export default function Notfound(props:any) {

    let gotologin = ()=> {
        props.history.push("/");
    }

    return (
        <div className="notfound">
            <Empty
                imageStyle={{
                    height: 100,
                }}
                description={
                    <span>
                        404....页面未找到
                    </span>
                }
            >
                <Button type="primary" onClick={()=>{
                    gotologin()
                }}>去登录</Button>
            </Empty>

        </div>
    )
}
